<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 6.2.0">


  <link rel="apple-touch-icon" sizes="180x180" href="/vhuichen.ico">
  <link rel="icon" type="image/png" sizes="32x32" href="/vhuichen.ico">
  <link rel="icon" type="image/png" sizes="16x16" href="/vhuichen.ico">
  <link rel="mask-icon" href="/vhuichen.ico" color="#222">

<link rel="stylesheet" href="/css/main.css">



<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha256-AbA177XfpSnFEvgpYu1jMygiLabzPCJCRIBtR5jGc0k=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">

<script class="next-config" data-name="main" type="application/json">{"hostname":"vhuichen.github.io","root":"/","images":"/images","scheme":"Pisces","darkmode":false,"version":"8.13.0","exturl":false,"sidebar":{"position":"left","display":"display","padding":18,"offset":12},"copycode":{"enable":false,"style":null},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"Searching...","empty":"We didn't find any results for the search: ${query}","hits_time":"${hits} results found in ${time} ms","hits":"${hits} results found"}}</script><script src="/js/config.js"></script>

    <meta name="description" content="0.前言有些项目不想公开，但使用GitHub Desktop比较方便，于是尝试看看能否通过GitHub Desktop管理别的远程仓库，还好找到了，记下来。 1.假设当前已经安装好GitHub Desktop2.以coding为例子，在coding上创建新的仓库3.打开终端，cd到指定的目录。使用命令 git clone 将远程仓库clone下来。git clone https:&#x2F;&#x2F;git.cod">
<meta property="og:type" content="article">
<meta property="og:title" content="使用GitHub Desktop管理别的仓库">
<meta property="og:url" content="https://vhuichen.github.io/2017/01/2017/01/%E4%BD%BF%E7%94%A8GitHub%20Desktop%20%E7%AE%A1%E7%90%86%E5%88%AB%E7%9A%84%E4%BB%93%E5%BA%93/index.html">
<meta property="og:site_name" content="vhuichen">
<meta property="og:description" content="0.前言有些项目不想公开，但使用GitHub Desktop比较方便，于是尝试看看能否通过GitHub Desktop管理别的远程仓库，还好找到了，记下来。 1.假设当前已经安装好GitHub Desktop2.以coding为例子，在coding上创建新的仓库3.打开终端，cd到指定的目录。使用命令 git clone 将远程仓库clone下来。git clone https:&#x2F;&#x2F;git.cod">
<meta property="og:locale">
<meta property="article:published_time" content="2017-01-12T14:22:23.000Z">
<meta property="article:modified_time" content="2018-07-01T08:05:27.836Z">
<meta property="article:author" content="vhuichen">
<meta property="article:tag" content="GitHub Desktop">
<meta property="article:tag" content="git">
<meta name="twitter:card" content="summary">


<link rel="canonical" href="https://vhuichen.github.io/2017/01/2017/01/%E4%BD%BF%E7%94%A8GitHub%20Desktop%20%E7%AE%A1%E7%90%86%E5%88%AB%E7%9A%84%E4%BB%93%E5%BA%93/">



<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-Hans","comments":true,"permalink":"https://vhuichen.github.io/2017/01/2017/01/%E4%BD%BF%E7%94%A8GitHub%20Desktop%20%E7%AE%A1%E7%90%86%E5%88%AB%E7%9A%84%E4%BB%93%E5%BA%93/","path":"2017/01/2017/01/使用GitHub Desktop 管理别的仓库/","title":"使用GitHub Desktop管理别的仓库"}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>使用GitHub Desktop管理别的仓库 | vhuichen</title>
  






  <noscript>
    <link rel="stylesheet" href="/css/noscript.css">
  </noscript>
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="Toggle navigation bar" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <p class="site-title">vhuichen</p>
      <i class="logo-line"></i>
    </a>
      <p class="site-subtitle" itemprop="description">记录、分享</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section">Home</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section">Archives</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section">About</a></li>
  </ul>
</nav>




</div>
        
  
  <div class="toggle sidebar-toggle" role="button">
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
  </div>

  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          Table of Contents
        </li>
        <li class="sidebar-nav-overview">
          Overview
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#0-%E5%89%8D%E8%A8%80"><span class="nav-number">1.</span> <span class="nav-text">0.前言</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#1-%E5%81%87%E8%AE%BE%E5%BD%93%E5%89%8D%E5%B7%B2%E7%BB%8F%E5%AE%89%E8%A3%85%E5%A5%BDGitHub-Desktop"><span class="nav-number">1.1.</span> <span class="nav-text">1.假设当前已经安装好GitHub Desktop</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2-%E4%BB%A5coding%E4%B8%BA%E4%BE%8B%E5%AD%90%EF%BC%8C%E5%9C%A8coding%E4%B8%8A%E5%88%9B%E5%BB%BA%E6%96%B0%E7%9A%84%E4%BB%93%E5%BA%93"><span class="nav-number">1.2.</span> <span class="nav-text">2.以coding为例子，在coding上创建新的仓库</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#3-%E6%89%93%E5%BC%80%E7%BB%88%E7%AB%AF%EF%BC%8Ccd%E5%88%B0%E6%8C%87%E5%AE%9A%E7%9A%84%E7%9B%AE%E5%BD%95%E3%80%82%E4%BD%BF%E7%94%A8%E5%91%BD%E4%BB%A4-git-clone-%E5%B0%86%E8%BF%9C%E7%A8%8B%E4%BB%93%E5%BA%93clone%E4%B8%8B%E6%9D%A5%E3%80%82"><span class="nav-number">1.3.</span> <span class="nav-text">3.打开终端，cd到指定的目录。使用命令 git clone 将远程仓库clone下来。</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#4-%E6%89%93%E5%BC%80GitHub-Desktop-%E7%82%B9%E5%87%BB%E5%8F%B3%E4%B8%8A%E8%A7%92%E7%9A%84%E2%80%9C%E2%9E%95%E2%80%9D%E5%8F%B7%EF%BC%8C%E9%80%89%E4%B8%ADadd%EF%BC%8CChoose%E5%88%9A%E6%89%8Dclone%E7%9A%84%E9%A1%B9%E7%9B%AE%EF%BC%8C%E7%A1%AE%E5%AE%9A%E3%80%82"><span class="nav-number">1.4.</span> <span class="nav-text">4.打开GitHub Desktop 点击右上角的“➕”号，选中add，Choose刚才clone的项目，确定。</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#5-%E5%AE%8C%E6%88%90%EF%BC%8C%E8%87%B3%E6%AD%A4%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87GitHub-Desktop%E6%93%8D%E4%BD%9C%E8%BF%99%E4%B8%AA%E4%BB%93%E5%BA%93%E4%BA%86%E3%80%82"><span class="nav-number">1.5.</span> <span class="nav-text">5.完成，至此可以通过GitHub Desktop操作这个仓库了。</span></a></li></ol></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="vhuichen"
      src="/images/vhuichen.jpg">
  <p class="site-author-name" itemprop="name">vhuichen</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap site-overview-item animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        <a href="/archives/">
          <span class="site-state-item-count">78</span>
          <span class="site-state-item-name">posts</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
          <a href="/categories/">
        <span class="site-state-item-count">11</span>
        <span class="site-state-item-name">categories</span></a>
      </div>
      <div class="site-state-item site-state-tags">
          <a href="/tags/">
        <span class="site-state-item-count">86</span>
        <span class="site-state-item-name">tags</span></a>
      </div>
  </nav>
</div>



        </div>
      </div>
    </div>
  </aside>
  <div class="sidebar-dimmer"></div>


    </header>

    
  <div class="back-to-top" role="button" aria-label="Back to top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://vhuichen.github.io/2017/01/2017/01/%E4%BD%BF%E7%94%A8GitHub%20Desktop%20%E7%AE%A1%E7%90%86%E5%88%AB%E7%9A%84%E4%BB%93%E5%BA%93/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/vhuichen.jpg">
      <meta itemprop="name" content="vhuichen">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="vhuichen">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content="使用GitHub Desktop管理别的仓库 | vhuichen">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          使用GitHub Desktop管理别的仓库
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">Posted on</span>

      <time title="Created: 2017-01-12 22:22:23" itemprop="dateCreated datePublished" datetime="2017-01-12T22:22:23+08:00">2017-01-12</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">Edited on</span>
      <time title="Modified: 2018-07-01 16:05:27" itemprop="dateModified" datetime="2018-07-01T16:05:27+08:00">2018-07-01</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
      <span class="post-meta-item-text">In</span>
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/GitHub/" itemprop="url" rel="index"><span itemprop="name">GitHub</span></a>
        </span>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
        <h1 id="0-前言"><a href="#0-前言" class="headerlink" title="0.前言"></a>0.前言</h1><p>有些项目不想公开，但使用GitHub Desktop比较方便，于是尝试看看能否通过GitHub Desktop管理别的远程仓库，还好找到了，记下来。</p>
<h2 id="1-假设当前已经安装好GitHub-Desktop"><a href="#1-假设当前已经安装好GitHub-Desktop" class="headerlink" title="1.假设当前已经安装好GitHub Desktop"></a>1.假设当前已经安装好GitHub Desktop</h2><h2 id="2-以coding为例子，在coding上创建新的仓库"><a href="#2-以coding为例子，在coding上创建新的仓库" class="headerlink" title="2.以coding为例子，在coding上创建新的仓库"></a>2.以coding为例子，在coding上创建新的仓库</h2><h2 id="3-打开终端，cd到指定的目录。使用命令-git-clone-将远程仓库clone下来。"><a href="#3-打开终端，cd到指定的目录。使用命令-git-clone-将远程仓库clone下来。" class="headerlink" title="3.打开终端，cd到指定的目录。使用命令 git clone 将远程仓库clone下来。"></a>3.打开终端，cd到指定的目录。使用命令 git clone 将远程仓库clone下来。</h2><pre><code class="objc">git clone https://git.coding.net/xxxxxx/xxx.git
</code></pre>
<h2 id="4-打开GitHub-Desktop-点击右上角的“➕”号，选中add，Choose刚才clone的项目，确定。"><a href="#4-打开GitHub-Desktop-点击右上角的“➕”号，选中add，Choose刚才clone的项目，确定。" class="headerlink" title="4.打开GitHub Desktop 点击右上角的“➕”号，选中add，Choose刚才clone的项目，确定。"></a>4.打开GitHub Desktop 点击右上角的“➕”号，选中add，Choose刚才clone的项目，确定。</h2><h2 id="5-完成，至此可以通过GitHub-Desktop操作这个仓库了。"><a href="#5-完成，至此可以通过GitHub-Desktop操作这个仓库了。" class="headerlink" title="5.完成，至此可以通过GitHub Desktop操作这个仓库了。"></a>5.完成，至此可以通过GitHub Desktop操作这个仓库了。</h2>
    </div>

    
    
    

    <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/GitHub-Desktop/" rel="tag"># GitHub Desktop</a>
              <a href="/tags/git/" rel="tag"># git</a>
          </div>

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/2016/11/2016/11/iOS%E5%9F%BA%E7%A1%80%E4%B9%8B%E8%AE%A1%E7%AE%97%E5%AD%97%E7%AC%A6%E4%B8%B2%E9%95%BF%E5%BA%A6/" rel="prev" title="iOS基础之计算字符串长度">
                  <i class="fa fa-chevron-left"></i> iOS基础之计算字符串长度
                </a>
            </div>
            <div class="post-nav-item">
                <a href="/2017/01/2017/01/iOS%E5%9F%BA%E7%A1%80%E4%B9%8BnavigationItem.title%E8%AE%BE%E7%BD%AE%E4%BD%86%E4%B8%8D%E6%98%BE%E7%A4%BA/" rel="next" title="iOS基础之navigationItem.title设置但不显示">
                  iOS基础之navigationItem.title设置但不显示 <i class="fa fa-chevron-right"></i>
                </a>
            </div>
          </div>
    </footer>
  </article>
</div>






</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">


<div class="copyright">
  &copy; 2015 – 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">vhuichen</span>
</div>
  <div class="powered-by">Powered by <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/pisces/" rel="noopener" target="_blank">NexT.Pisces</a>
  </div>

    </div>
  </footer>

  
  <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>

  





  





</body>
</html>
